package com.tiantian.service;

import java.util.List;
import java.util.Map;

import com.tiantian.bean.PageBean;
import com.tiantian.datajpa.service.GenericService;
import com.tiantian.domain.BackstageUser;
import com.tiantian.ret.Result;
import com.tiantian.service.vo.UserVo;

public interface BackstageUserService extends GenericService<BackstageUser, String> {
	public List<BackstageUser> list(Map<String, String> params, PageBean pageBean);

	public Result<Object> saveUser(UserVo user, List<String> ids);

	public List<Map<String, Object>> findRoles(String id);

	public BackstageUser findByUsername(String username);
}
